.class public Les/j7;
.super Ljava/lang/Object;
.source "FileDownloadTask.java"


# instance fields
.field private a:Les/i7;

.field private b:Ljava/lang/String;

.field private c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Lcom/android/volley/l;

.field private f:Les/i7$d;

.field private g:Lcom/android/volley/j$a;


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Les/i7$d;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Les/j7$a;

    invoke-direct {v0, p0}, Les/j7$a;-><init>(Les/j7;)V

    iput-object v0, p0, Les/j7;->g:Lcom/android/volley/j$a;

    .line 3
    iput-object p1, p0, Les/j7;->b:Ljava/lang/String;

    .line 4
    iput-object p2, p0, Les/j7;->c:Ljava/lang/String;

    .line 5
    iput-object p3, p0, Les/j7;->d:Ljava/lang/String;

    .line 6
    iput-object p4, p0, Les/j7;->f:Les/i7$d;

    return-void
.end method

.method static synthetic a(Les/j7;)Les/i7$d;
    .locals 0

    .line 1
    iget-object p0, p0, Les/j7;->f:Les/i7$d;

    return-object p0
.end method


# virtual methods
.method public synthetic a()V
    .locals 1

    .line 2
    iget-object v0, p0, Les/j7;->f:Les/i7$d;

    invoke-interface {v0}, Les/i7$d;->a()V

    return-void
.end method

.method public synthetic b()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/j7;->f:Les/i7$d;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "getSavedFilePath failed savePath:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Les/j7;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Les/i7$d;->b(Ljava/lang/String;)V

    return-void
.end method

.method public c()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/j7;->f:Les/i7$d;

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Les/f7;

    invoke-direct {v0, p0}, Les/f7;-><init>(Les/j7;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    .line 3
    :cond_0
    iget-object v0, p0, Les/j7;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    new-instance v0, Les/e7;

    invoke-direct {v0, p0}, Les/e7;-><init>(Les/j7;)V

    invoke-static {v0}, Les/xc;->b(Ljava/lang/Runnable;)V

    return-void

    .line 5
    :cond_1
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Les/j7;->b:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 6
    new-instance v1, Les/i7;

    iget-object v2, p0, Les/j7;->c:Ljava/lang/String;

    iget-object v3, p0, Les/j7;->f:Les/i7$d;

    iget-object v4, p0, Les/j7;->g:Lcom/android/volley/j$a;

    invoke-direct {v1, v2, v0, v3, v4}, Les/i7;-><init>(Ljava/lang/String;Ljava/io/File;Les/i7$d;Lcom/android/volley/j$a;)V

    iput-object v1, p0, Les/j7;->a:Les/i7;

    .line 7
    iget-object v0, p0, Les/j7;->d:Ljava/lang/String;

    invoke-virtual {v1, v0}, Lcom/android/volley/Request;->b(Ljava/lang/Object;)Lcom/android/volley/Request;

    .line 8
    iget-object v0, p0, Les/j7;->e:Lcom/android/volley/l;

    if-eqz v0, :cond_2

    .line 9
    iget-object v1, p0, Les/j7;->a:Les/i7;

    invoke-virtual {v1, v0}, Lcom/android/volley/Request;->a(Lcom/android/volley/l;)Lcom/android/volley/Request;

    .line 10
    :cond_2
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Les/g7;->a(Landroid/content/Context;)Lcom/android/volley/i;

    move-result-object v0

    iget-object v1, p0, Les/j7;->a:Les/i7;

    .line 11
    invoke-virtual {v0, v1}, Lcom/android/volley/i;->a(Lcom/android/volley/Request;)Lcom/android/volley/Request;

    return-void
.end method
